"""


"""
from rest_framework.viewsets import ModelViewSet

from goods.models import GoodsChannel
from meiduo_admin.my_pagination import MyPageNumberPagination
from meiduo_admin.serializers.channel_manage_serializers import ChannelSerializer


class ChannelManageView(ModelViewSet):
    serializer_class = ChannelSerializer
    queryset = GoodsChannel.objects.all()
    pagination_class = MyPageNumberPagination
